package com.micheal.pattern.factory.abstr;

/**
 * Created by micheal on 2018/3/21/0021.
 */
public class AbstractFactoryTest {

    public static void main(String[] args) {

        PhoneFactory phoneFactory = new PhoneFactory();
        System.out.println(phoneFactory.getApple());
        System.out.println(phoneFactory.getSanXing());
        System.out.println(phoneFactory.getHuawei());

    }

}
